﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Caltech.Models
{
    public class CustomerEquipmentModel : BaseModel
    {
        public int EquipmentId { get; set; }
        public int CustomerId { get; set; }

        public string SerialNumber { get; set; }
        public string PONumber { get; set; }
        public string Procedure { get; set; }
        public string AssetNumber { get; set; }

        public DateTime? CalibrationDate { get; set; }
        public DateTime? NextDueDate { get; set; }

        public float? Price { get; set; }

        public EquipmentModel Equipment { get; set; }
        public CustomerCompactModel Customer { get; set; }
        public UserSearchModel Salesman { set; get; }
    }

    public class CustomerEquipmentSearchModel : BaseModel
    {
        public string SerialNumber { get; set; }
        public string Manufacturer { get; set; }
        public string ModelNumber { get; set; }
        public string Name { get; set; }
        public string PONumber { get; set; }
        public string Description { get; set; }
        public float? Price { get; set; }
        public string SalesmanName { get; set; }
        public DateTime? CalibrationDate { get; set; }
        public DateTime? NextDueDate { get; set; }
    }
}